home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / plnk081.zip / pilot-link.0.8.1 / Java / Pdapilot / expense / Pref.java < prev    next >
Text File  |  1997-08-08  |  1KB  |  36 lines

  1.  
  2. package Pdapilot.expense;
  3.  
  4. import java.io.*;
  5.  
  6. public class Pref extends Pdapilot.Pref {
  7.     public int currentCategory, defaultCategory;
  8.     public int noteFont;
  9.     public boolean showAllCategories;
  10.     public boolean showCurrency;
  11.     public boolean saveBackup;
  12.     public boolean allowQuickFill;
  13.     public distance unitOfDistance;
  14.     public int[] currencies;
  15.     
  16.     public native void unpack(byte[] data);
  17.     public native byte[] pack();
  18.                     
  19.         
  20.         public Pref() {
  21.             super(null, new Pdapilot.Char4("exps"), 1, 1, true);
  22.         }
  23.  
  24.         public Pref(byte[] contents, Pdapilot.Char4 creator, int id, int version, boolean backup) {
  25.             super(contents, creator, id, version, backup);
  26.         }
  27.         
  28.         public String describe() {
  29.             return super.describe();
  30.             /*return "syncType="+syncType+", getHigh=" +getHigh+", getContaining="+getContaining+", "+
  31.                    "truncate="+truncate+", filterTo="+Pdapilot.Util.prettyPrint(filterTo)+
  32.                    ", filterFrom="+Pdapilot.Util.prettyPrint(filterFrom)+
  33.                    ", filterSubject="+Pdapilot.Util.prettyPrint(filterSubject)+", "+super.describe();*/
  34.         }
  35. }
  36.